#include "mainwindow.h"
#include <QApplication>
#include <QDebug>
#include "dbConnection.cpp"



int main(int argc, char *argv[])
{
    QApplication a(argc, argv);


    if (!createConnection())
    {
        return 1;
    }

    qDebug()<<"now showing the aplication";
    MainWindow w;
    w.show();
    return a.exec();
}
